﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MainLayout.Master" AutoEventWireup="true" CodeBehind="ProductsList.aspx.cs" Inherits="DigitalAnts.InnerPage" %>
<%@ Register Src="webUserControl/SideBarRight.ascx" tagname="SideBar" tagprefix="uc1"%>

<%@ Register src="webUserControl/Toolbar.ascx" tagname="Toolbar" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="content-bg">
		<div class="page">

			<div class="main-container col2-right-layout">
				<div class="breadcrumbs">
    <ul>
                    <li class="home">
                            <a href="http://livedemo00.template-help.com/magento_36860/" title="Go to Home Page">Home</a>
                                        <span>&nbsp;&gt; </span>
                        </li>
                    <li class="category8">

                            <strong>Street</strong>
                                    </li>
                    
            </ul>
</div>
				<div class="main">
					<div class="col-main">
<div class="border1">



    <div class="category-products">
        <uc2:Toolbar ID="Toolbar1" runat="server" />
        
        <!-- Product List -->
         <ol class="products-list" id="productlist-image">
           <asp:ListView ID="lvProductList" runat="server" DataKeyNames="colProductID" 
               onitemcommand="lvProductList_ItemCommand" >
        <LayoutTemplate>
            <ol id="ItemPlaceHolder" runat="server"></ol>
        </LayoutTemplate>
            <ItemTemplate>
                <li class="item">
                        <a href="../ProductDetail.aspx?id=<%# Eval("colProductID")%>" title="<%# Eval("colTitle")%>" class="product-image"><img src="../resource/product_pic/<%# Eval("colAvatar")%>" alt="<%# Eval("colTitle")%>" /></a>
                        <div class="product-shop">
				<div class="col-1">
										<h2 class="product-name"><%#Eval("colProduct") %> - <a href="../ProductDetail.aspx?id=<%# Eval("colProductID")%>" title="<%# Eval("colTitle")%>"><%# Eval("colTitle")%></a></h2>                                        <p><%#Eval("CityName") %></p>
										

        
    <div class="price-box">
                                                            <span class="regular-price" id="product-price-7">
                    <span class="price"><%# String.Format("{0:0,0 vnđ}", Eval("colPrice"))%></span>                </span>
                        
        </div>
        
											<p>                                            <asp:Button ID="button" runat="server" Text="Thêm vào giỏ hàng" CssClass="addtocard" CommandName="Cart" CommandArgument='<%# Eval("colProductID")%>'/>                                            </p>
									</div>
				<div class="col-2">
					<div class="desc std">
                        Here at the <strong>Motorcycle store</strong> we can guarantee a full <i>satisfaction</i> of any customer that would visit our <strong>online</strong> shop. It is hard to find more reliable customer <strong>service</strong> than the one that we have.                        <a href="../ProductDetail.aspx?id=<%# Eval("colProductID")%>" title="<%# Eval("colTitle")%>" class="link-learn">Chi tiết...</a>
                    </div>
                    <ul class="add-to-links">
                                                    <li><asp:LinkButton ID="button1" runat="server" Text="Thích" CssClass="addtocard" CommandArgument='<%# Eval("colProductID")%>' CommandName="Favorite"/></li>
                                                                            <li><span class="separator">|  <a href="http://livedemo00.template-help.com/magento_36860/wishlist/index/add/product/7/" class="link-wishlist">Liên hệ: <%#Eval("colUserName") %></a></span> </li>
                                            </ul>
				</div>
            </div>
        </li>
            </ItemTemplate>
            <EmptyDataTemplate>
                <p class="status">Không có sản phẩm nào trong danh mục này</p>
            </EmptyDataTemplate>
        </asp:ListView></ol>
       <asp:DataPager ID="DataPager1" QueryStringField="Page"  PageSize="6"
            PagedControlID="lvProductList" runat="server">
           <Fields>               
               <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" 
                   ShowNextPageButton="False" ShowPreviousPageButton="False" 
                   RenderDisabledButtonsAsLabels="True" />
               <asp:NumericPagerField ButtonType="Image" />
           </Fields>
        </asp:DataPager>
        <!-- End Product List -->

        <div class="toolbar-bottom">
            <uc2:Toolbar ID="Toolbar2" runat="server" />
        </div>
    </div>
</div>

					</div>
					<uc1:SideBar ID="SideBar1" runat="server" />
                    
				</div>
			</div>
					</div>
	</div>
</asp:Content>
